package org.jeecg;


import com.google.common.collect.Maps;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public class MapList {

    public static void main(String[] args) {
        ArrayList<Map<String,String>> list = new ArrayList<>();
//                       键：key 值：value
//
//                map key value
        Map<String,String> s1 = Maps.newHashMap();
        s1.put("name1","zhangsan");
        s1.put("age","18");
        s1.put("classNo","237");
        list.add(s1);

        Map<String,String> s2 = Maps.newHashMap();
        s2.put("name","zhangsan2");
        s2.put("age","182");
        s2.put("classNo","2372");
        list.add(s2);

        System.out.println(list);

//        String age = "18";
//        int newAget = Integer.valueOf(age);

//        int age1 = 18;
//        String newAge1 = String.valueOf(age1);
//        String newAge2 = age1 + "";


    }


}
